@layout("/backend/common/_container.html"){
<style>
	.dhcc-con .form-group{
		margin-bottom: 5px;
	}
	.divMask {
		left: 0px;
		top: 0px;
		background: #cccccc !important;
		opacity: 0.5;
		filter: alpha(opacity=0);
		z-index: 5;
		pointer-events:none;
	}
</style>
<#Layout >
<#Layout_Left title='查询条件' width='260px'>
<div class="row row-lg">
	<div class="col-sm-12">
		<div class="dhcc-con dhcc-con-left dhcc-con-boder" >
			@var dateMap={'dish':'出院时间','adm':'入院时间'};
			<#SelectCon id="searchType2" name="日期类型" map="${dateMap}" hasEmpty='false'/>
			<#DateHisui id="startDate2" name="开始日期" value="${startDate}" />
			<#DateHisui id="endDate2" name="结束日期" value="${endDate}" />
			@var statusMap = {'':'全部', 'notReported':'待填写', 'notChecked':'已提交', 'checked':'已审核', 'reported':'已上报', 'uploadSuccess':'上报成功', 'uploadFailure':'上报失败' };
			<#SelectCon id="status" name="填报状态" map="${statusMap}" />
			<#InputCon id="recordNumber" name="病案号" />
			<#InputCon id="name" name="患者姓名" />
			<#InputCon id="dept" name="科室" />
			<#InputCon id="doctor" name="主管医生" />
			<#Hidden id="abbrev"/>
		</div>
		<div class="hidden-xs" id="EpisodeIDTableToolbar" role="group" style="padding-left: 110px;padding-top: 10px;">
			<!--<#Button name="查询" icon="icon-search" plain="true" clickFun="SdsQcincase2.search2()" />-->
			<!--<#Button name="清空" icon="icon-reload" plain="true" clickFun="SdsQcincase2.clear2()" />-->
			<a href="#" id="search" class="hisui-linkbutton" onclick = "SdsQcincase2.search2()" >查询</a>
			<a href="#" id="clear" class="hisui-linkbutton" onclick = "SdsQcincase2.clear2()" >清空</a>
		</div>
	</div>
</div>
</#Layout_Left>
<#Layout_Center id='entityName' title=' '>
<div style="position:fixed;right:12px;top:9px;z-index:99;">
	<a id="btnBatchUp" class="hisui-linkbutton yellow" style="float:left;margin-right: 10px;">批量上报</a>
	<a id="btnShowEntiy" class="hisui-linkbutton green" style="float:right">返回病种列表</a>
</div>
<#Table id="SdsQcincaseTable"/>
</#Layout_Center>
<div id="winQCEntity" class="hisui-dialog" style="width:1380px;height:600px">
	<div class="dhcc-con dhcc-con-boder">
		<div class="dhcc-con-left">
			@var dateMap={'dish':'出院时间','adm':'入院时间'};
			<#SelectCon id="searchType1" map="${dateMap}" hasEmpty='false'/>
			<#DateHisui id="startDate1" name="开始日期" value="${startDate}" />
			<#DateHisui id="endDate1" name="结束日期" value="${endDate}" />
			<#Button name="查询" icon="icon-w-find" clickFun="SdsQcincase2.search1()"/>
		</div>
		<div class="dhcc-con-right" style="width: auto;">
			<p>检索出<span id="entityNum"></span>份</p>
		</div>
	</div>
	<div id="QCEntityList" style="height:510px; overflow-y: auto;">
		@var checkPerm = "0";
		@if(shiro.hasPermission("form:check")){
		@checkPerm = "1";
		@}
		<#Hidden id="checkPerm" value="${checkPerm}"/>
		@var submitPerm = "0";
		@if(shiro.hasPermission("form:submit")){
		@submitPerm = "1";
		@}
		<#Hidden id="submitPerm" value="${submitPerm}"/>
		<#Hidden id="formCheckType" value="${formCheckType}"/>
		<#Hidden id="enableIPQC" value="${enableIPQC!}"/>
	</div>
</#Layout>
<!-- 质控提示消息框 -->
<div id="mrListInfoDiv" style="display: none;width:100%;">
	<div style="padding:10px;" id="mrListInfoHtml">
	</div>
</div>
<script src="${ctxPath}/static/backend/sds/sdsqcincase2/sdsqcincase2.js"></script>
@}
